package com.ziyun.erp.modules.bonusRule.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import com.ziyun.erp.modules.bonusRule.entity.SellerBonusRuleEntity;
import io.renren.common.utils.R;

import java.util.Date;
import java.util.Map;

/**
 * 奖励金规则
 *
 * @author zh
 * @email 
 * @date 2018-11-29 17:59:28
 */
public interface SellerBonusRuleService extends IService<SellerBonusRuleEntity> {

    PageUtils queryPage(Map<String, Object> params);


    void saveBonusRule(SellerBonusRuleEntity sellerBonusRule);

    R getTimeBonusRule(Date time);

    void updateBonusRule(SellerBonusRuleEntity sellerBonusRule);
}

